package cn.tedu._06vehicle.mapper;

import cn.tedu._06vehicle.pojo.dto.VehicleListQuery;
import cn.tedu._06vehicle.pojo.entity.User;
import cn.tedu._06vehicle.pojo.entity.Vehicle;
import cn.tedu._06vehicle.pojo.vo.VehicleListVO;

import java.util.List;

public interface VehicleMapper {


    int insertVehicle(Vehicle vehicle);

    List<VehicleListVO> listVehicle(VehicleListQuery query, Long user_id);

    int deleteVehicleById(Long id,Long user_id);
}
